package com.demo;

public class Student {
	private String name;
	private Integer age;
	private String sex;
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public Integer getAge() {
		return age;
	}
	
	public void setAge(Integer age) {
		this.age = age;
	}
	
	public String getSex() {
		return sex;
	}
	
	public void setSex(String sex) {
		this.sex = sex;
	}
	
	public String printInfo() {
		StringBuffer sb=new StringBuffer();
		
		sb.append(this.name);
		
		sb.append(this.age);
		
		sb.append(this.sex);
		
		String str=new String(sb);
		return str;
	}
}
	